package com.chenyun.system.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;

/**
* 字典类型表(sys_dict_type)表实体类
*
* @author Lonni
* @since 2021-1-6 21:29:50
*/
@TableName("sys_dict_type")
@ApiModel(value = "SysDictType对象",description = "字典类型表")
public class SysDictType implements Serializable {
    private static final long serialVersionUID = -6298105595062994950L;

    public SysDictType(){}

     @ApiModelProperty(value = "字典主键")
     @TableId(value = "dict_id",type = IdType.AUTO)
     private Long dictId;
     @ApiModelProperty(value = "字典名称")
     @TableField("dict_name")
     private String dictName;
     @ApiModelProperty(value = "字典类型")
     @TableField("dict_type")
     private String dictType;
     @ApiModelProperty(value = "状态（0正常 1停用）")
     @TableField("status")
     private String status;
     @ApiModelProperty(value = "创建者")
     @TableField("create_by")
     private String createBy;
     @ApiModelProperty(value = "创建时间")
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     @TableField("create_time")
     private Date createTime;
     @ApiModelProperty(value = "更新者")
     @TableField("update_by")
     private String updateBy;
     @ApiModelProperty(value = "更新时间")
     @TableField("update_time")
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     private Date updateTime;
     @ApiModelProperty(value = "备注")
     @TableField("remark")
     private String remark;


     private Map<String,Object> params;

    public Map<String, Object> getParams() {
        return params;
    }

    public void setParams(Map<String, Object> params) {
        this.params = params;
    }

    public Long getDictId() {
        return dictId;
    }

    public void setDictId(Long dictId) {
        this.dictId = dictId;
    }

    public String getDictName() {
       return dictName;
    }
    public void setDictName(String dictName) {
      this.dictName = dictName;
    }

    public String getDictType() {
       return dictType;
    }
    public void setDictType(String dictType) {
      this.dictType = dictType;
    }

    public String getStatus() {
       return status;
    }
    public void setStatus(String status) {
      this.status = status;
    }

    public String getCreateBy() {
       return createBy;
    }
    public void setCreateBy(String createBy) {
      this.createBy = createBy;
    }

    public Date getCreateTime() {
       return createTime;
    }
    public void setCreateTime(Date createTime) {
      this.createTime = createTime;
    }

    public String getUpdateBy() {
       return updateBy;
    }
    public void setUpdateBy(String updateBy) {
      this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
       return updateTime;
    }
    public void setUpdateTime(Date updateTime) {
      this.updateTime = updateTime;
    }

    public String getRemark() {
       return remark;
    }
    public void setRemark(String remark) {
      this.remark = remark;
    }


}